package cn.hou.java.designpattern._04builder;

import java.util.ArrayList;
import java.util.List;

//大楼建造
public class DaLouBuilder implements HouseBuilder {
	
	House house =new House();
	
	@Override
	public void buildDoor() {
		List<String> list=new ArrayList<String>();
		list.add("大楼的大门");
		list.add("大楼的小门");
		house.setDoor(list);
	}
	@Override
	public void buildWall() {
		house.setWall("大楼的墙");
	}
	@Override
	public void buildFloor() {
		house.setFloor("大楼的地板");
	}
	@Override
	public House getHouse() {
		return house;
	}

}
